package com.cans.service.pms.impl;

import com.cans.dao.api.IBaseDao;
import com.cans.dao.file.api.IFileDetailDao;
import com.cans.model.file.FileDetail;
import com.cans.service.impl.BaseServiceImpl;
import com.cans.service.pms.api.IFileDetailService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * @author cans
 * @date 2018/6/4
 * @description 文件操作业务层
 */
@Service("fileDetailService")
@Transactional(rollbackFor = Exception.class)
public class FileDetailServiceImpl extends BaseServiceImpl<FileDetail,String> implements IFileDetailService {

    @Resource
    private IFileDetailDao fileDetailDao;

    @Override
    public IBaseDao<FileDetail, String> getDaoImpl() {
        return fileDetailDao;
    }
}
